package com.chj;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.io.IOException;

/**
 * Hello world!
 */
public class OrderServer {
    public static void main(String[] args) throws IOException {
        System.out.println("Hello World!");
        ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext(
                "classpath:dubbo.xml");
        ctx.start();
        System.out.println("---------dubbo启动成功--------");
        System.in.read();
    }
}
